import http from './http';

export const getOrders = (params) => http.get('/order', { params });

export const getRefund = (params) => http.get("/order/refund/list", { params })

export const remoRefund = (id) => http.delete(`/order/refund/${id}`)

export const lookText = (id) => http.get(`/order/${id}`)

export const getPay = (id) => http.get(`/order/${id}/finish`)

export const withdrawal = (params) => http.get('/member/inviteBalance/withdrawOrders', { params })

export const getref = (params) => http.post('http://1.14.239.98/backend/api/v1/order/2466/refund', { params })